package com.xxl.job.executor.sample.frameless.test.strategy_mode;

//应用
public class Main {
    public static void main(String[] args) {
        Context context;

        context = new Context(new FiveFiveStrategy());
        System.out.println(context.operate());

        System.out.println("**********");

        context = new Context(new FourOneStrategy());
        System.out.println(context.operate());

        System.out.println("**********");

        context = new Context(new StealHomeStrategy());
        System.out.println(context.operate());
    }
}
